home *** CD-ROM | disk | FTP | other *** search
/ BUG 1 / BUGCD1996_0708.ISO / pc / util / minilin / minilin.exe / USR / LIB / SETUP / SETMEDIA.{_B < prev    next >
Text File  |  1994-02-03  |  645b  |  28 lines

  1. #!/bin/sh
  2.  
  3. dialog --title "SOURCE MEDIA SELECTION" --menu \
  4. "\nWhere do you plan to install Slackware Linux from?\n" 14 65 5 \
  5. "1" "Install from a hard drive partition" \
  6. "2" "Install from floppy disks" \
  7. "3" "Install via NFS" \
  8. "4" "Install from a pre-mounted directory" \
  9. "5" "Install from CD-ROM"  2> /tmp/media
  10. if [ $? = 1 -o $? = 255 ]; then
  11.  rm /tmp/media
  12.  exit
  13. fi
  14.  
  15. SOURCE_MEDIA="`cat /tmp/media`"
  16. rm -f /tmp/media
  17. if [ "$SOURCE_MEDIA" = "1" ]; then
  18.  INShd
  19. elif [ "$SOURCE_MEDIA" = "2" ]; then
  20.  INSfd
  21. elif [ "$SOURCE_MEDIA" = "3" ]; then
  22.  INSNFS
  23. elif [ "$SOURCE_MEDIA" = "4" ]; then
  24.  INSdir 
  25. elif [ "$SOURCE_MEDIA" = "5" ]; then
  26.  INSCD
  27. fi
  28.